<template>
  <div style="margin-top: 50px">
    <el-form :model="value" ref="productSaleForm" label-width="120px" class="form-inner-container" size="small">
      <el-form-item prop="description" label="简要说明">
        <el-input type="textarea" v-model="value.description"  :rows="5"/>
      </el-form-item>
      <el-form-item prop="content" label="商品详情">
        <editor v-model="value.content" :min-height="380"/>
      </el-form-item>
      <el-form-item style="text-align: center">
        <el-button size="medium" @click="handlePrev">上一步，填写商品基本信息</el-button>
        <el-button type="primary" size="medium" @click="handleNext">下一步，填写商品属性配置</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
  // import {fetchList as fetchMemberLevelList} from '@/api/memberLevel'
  import Editor from "@/components/Editor";
  export default {
    name: "GoodsContentDetail",
    components: {Editor},
    props: {
      value: Object,
      isAudit: {
        type: Boolean,
        default: false
      }
    },
    data() {
      return {
      }
    },
    created() {},
    computed: {},
    methods: {
      handlePrev() {
        this.$emit('prevStep')
      },
      handleNext() {
        this.$emit('nextStep')
      }
    }
  }
</script>

<style scoped>
  .littleMargin {
    margin-top: 10px;
  }
</style>
